package com.twan.kotlinbase

import org.junit.Test

import org.junit.Assert.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        //assertEquals(4, 2 + 2)
        assertEquals(testlast(),"")
    }

    fun testlast():String{
        var str ="123456789"
        println("结果:"+str.dropLast(0))
        return str.dropLast(0)
    }
}